package com.varbal.icegame;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;

//@ImportResource(locations = {"classpath:beans.xml"})//注入spring配置的文件
@MapperScan(value = "com.varbal.icegame.mapper")//代替所有mapper接口中的标注，也可以在MybatisConfig中标注
//@ServletComponentScan//springboot2.配置过滤器时，启动类必须加上@ServletComponentScan才会加载过滤器
@SpringBootApplication
public class GrowthApplication {

    public static void main(String[] args) {
        SpringApplication.run(GrowthApplication.class, args);
    }

}
